package top.blentle.ai.data.endpoint;

/**
 * 返回给UI的数据
 * @author renhuan
 * @desc
 */
public class JsonDataMsg {
    /**
     * 返回类型
     *
     */
    private EventType type;

    private Object data;

    public JsonDataMsg() {

    }

    public JsonDataMsg(EventType type, Object data) {
        this.type = type;
        this.data = data;
    }

    public EventType getType() {
        return type;
    }

    public void setType(EventType type) {
        this.type = type;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
